package com.doumi.biz.qadev.api.bean;


import lombok.Data;

/**
 * Created by YDZ on 2019/10/21.
 */
@Data
public class UserBaseInfo {
    //企业ID
    private Long companyId;
    //B端用户ID
    private Long bUserId;
    //城市ID
    private Long cityId;
    //工作类型
    private Long jobTypeId;
    // 求职类型 1兼职，2全职，0全兼职都可，3在家可做  现在线上没有这个字段
    private int jobDataType;
    //性别:1男 2女 0不限
    private int gender;
    //年龄:开始年龄
    private int  ageStart;
    //年龄：结束年龄
    private int ageEnd;
    //学历:1.不限制，2.初中，3.高中，4.大专，5.本科，6.硕士，7.博士  8. 中专 100 其他（这个字段需要向上兼容）
    private int degree=1;
    //身份 1-学生 2-非学生
    private int identity;
    //分页大小
    private Long pageSize;
    //处理后的学历信息
    private String handleDegree;
    //处理后的求职类型
    private String handleJobType;

    private String contactStatus;
    public UserBaseInfo() {
    }

    public UserBaseInfo(Long companyId, Long bUserId, Long cityId, Long jobTypeId, int jobDataType, int gender, int ageStart, int ageEnd, int degree, int identity, Long pageSize) {
        this.companyId = companyId;
        this.bUserId = bUserId;
        this.cityId = cityId;
        this.jobTypeId = jobTypeId;
        this.jobDataType = jobDataType;
        this.gender = gender;
        this.ageStart = ageStart;
        this.ageEnd = ageEnd;
        this.degree = degree;
        this.identity = identity;
        this.pageSize = pageSize;
    }
    //最基本的请求参数
    public UserBaseInfo(Long companyId, Long bUserId, Long cityId, Long jobTypeId) {
        this.companyId = companyId;
        this.bUserId = bUserId;
        this.cityId = cityId;
        this.jobTypeId = jobTypeId;
    }

    @Override
    public String toString() {
        return "UserBaseInfo{" +
                "companyId=" + companyId +
                ", bUserId=" + bUserId +
                ", cityId=" + cityId +
                ", jobTypeId=" + jobTypeId +
                ", jobDataType=" + jobDataType +
                ", gender=" + gender +
                ", ageStart=" + ageStart +
                ", ageEnd=" + ageEnd +
                ", degree=" + degree +
                ", identity=" + identity +
                ", pageSize=" + pageSize +
                ", handleDegree='" + handleDegree + '\'' +
                ", handleJobType='" + handleJobType + '\'' +
                ", contactStatus='" + contactStatus + '\'' +
                '}';
    }
}
